/************************************************************************
             Polygons2WingedEdges.h - Copyright Claudio Botta

This library is free software; you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or 
(at your option) any later version.
This library is distributed in the hope that it will be useful, but 
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public License 
along with this library; if not, write to the 
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 
Boston, MA 02110, USA

This file was generated on Wed May 14 2008 at 10:40:32
The original location of this file is geomagick/Polygons2WingedEdges.h
**************************************************************************/


#ifndef POLYGONS2WE_H
#define POLYGONS2WE_H

#include <string>
#include <vector>
#include <deque>
#include "Conversion.h"
#include "BaseTypes/Polygons.h"
#include "BaseTypes/WingedEdges.h"
#include "geomagickGlobal.h"
//

using namespace std;

namespace geomagick{

/**
  * class Polygons2WingedEdges
  */

class Polygons2WingedEdges : public Conversion
{
public:

 

private:

public:


  // Private attribute accessor methods
  //  

virtual void test()
 {
	cout << "Polygons2WingedEdges \n";
}

  virtual WingedEdges* process(Polygons*);
  virtual BaseType* process(BaseType* in){
	return this->process((Polygons*) in);
	}

  

   static Conversion* init(){return (new Polygons2WingedEdges);}
   static string getConversionName(){return "Polygons2WingedEdges";}
   static int getEdgeWeight(){return 1;}
   static ConversionId* getTypeId(){ConversionId* newConversionId = new ConversionId; 
					newConversionId->getSourceId = Polygons::getTypeId;
					newConversionId->getTargetId = WingedEdges::getTypeId;
					newConversionId->getEdgeWeight = Polygons2WingedEdges::getEdgeWeight;
					newConversionId->getConversionName = Polygons2WingedEdges::getConversionName;
					newConversionId->init = Polygons2WingedEdges::init; 
					return newConversionId;}

private:


};
}
#endif // POLYGONS2WE_H
